package com.so206.service;


import com.so206.po.ext.ConnCountModel;
import com.so206.po.ext.CountRet;

import java.math.BigDecimal;
import java.util.List;

public interface SystemCountService {

    int countUsers();

    int countOrders(Integer status, Long uid);

    BigDecimal findUserSettAllCount(Long uid);

    BigDecimal findSettAllCount();

    BigDecimal todayInMoney(Long uid, String timelike, String endTime);

    BigDecimal todayChangeMoneySett(Long uid, String timelike, String endTime);

    BigDecimal todaySettMoney(Long uid, String timelike, String endTime);

    BigDecimal todayWaitSettMoney(Long uid, String timelike, String endTime);

    Integer todayCreateOrder(Long uid, Integer status, String timelike, Integer otype, String endTime);

    BigDecimal todayOrderSettMoneyCount(Long uid, Integer status, String timelike, String endTime);

    BigDecimal todayOrderMoneyCount(Long uid, Integer status, String timelike, Integer pay_type, String endTime);

    BigDecimal ptMoneyCountByType(Integer ptype, String timelike, String endTime);

    BigDecimal ptMoneyInByChangeSett(String timelike, String endTime);

    BigDecimal ptMoneyInByRegister(String timelike, String endTime);

    BigDecimal ptMoneyInBySettOut(String timelike, String endTime);

    BigDecimal ptMoneyInByOrderPayType(String timelike, Integer ptype, String endTime);

    CountRet findUserFirst();

    BigDecimal count_tr_info(Integer type, String time, Long uid, String endTime);

    BigDecimal count_sale_money(Long uid, Integer status, String timelike, String endTime);

    List<ConnCountModel> cout_conn_today(String timelike, String endTime);

    BigDecimal query_proxy_money_count(Long uid, String timelike, String endTime);

    int query_proxy_user_count(Long uid, String timelike, String endTime);

}


